package ai.people.netmon.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import ai.people.netmon.gateway.properties.GatewayProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @description:
 * @author: Xing.Wei
 * @time: 2021-11-29 15:00
 */
@EnableConfigurationProperties(GatewayProperties.class)
@EnableFeignClients // 开启Feign
//@ComponentScan("ai.people.netmon.feign")
//@ComponentScan(basePackages = {"ai.people.netmon.api"}) // 扫描接口
//@ComponentScan(basePackages = {"ai.people.netmon.framework"}) // 扫描common下的所有类
@SpringBootApplication
public class GatewayApplication10001 {


    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication10001.class, args);
    }

}
